package com.applet.user.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.applet.common.annotation.Excel;
import com.applet.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 兼职申请对象 apply_for
 * 
 * @author ruoyi
 * @date 2024-08-16
 */
public class ApplyFor
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "主键",dataType = "Long")
    private Long id;

    /** 兼职申请表id */
    @ApiModelProperty(value = "兼职申请表id",dataType = "Long")
    @Excel(name = "兼职申请表id")
    private Long publishId;

    /** 申请人用户id */
    @ApiModelProperty(value = "申请人用户id",dataType = "Long")
    @Excel(name = "申请人用户id")
    private Long userId;

    /** 发布者用户id */
    @ApiModelProperty(value = "发布者用户id",dataType = "Long")
    @Excel(name = "发布者用户id")
    private Long publishUserId;

    /** 用户昵称 */
    @ApiModelProperty(value = "用户昵称",dataType = "String")
    @Excel(name = "用户昵称")
    private String nickName;

    /** 申请人称呼 */
    @ApiModelProperty(value = "申请人称呼",dataType = "String")
    @Excel(name = "申请人称呼")
    private String name;

    /** 手机号码 */
    @ApiModelProperty(value = "手机号码",dataType = "String")
    @Excel(name = "手机号码")
    private String phonenumber;

    /** 性别 */
    @ApiModelProperty(value = "性别",dataType = "String")
    @Excel(name = "性别")
    private String sex;

    /** 备注 */
    @ApiModelProperty(value = "备注",dataType = "String")
    @Excel(name = "备注")
    private String intor;

    /** 申请状态：0正常 撤销 */
    @ApiModelProperty(value = "申请状态(0正常 1撤销)",dataType = "Integer")
    @Excel(name = "申请状态：0正常 1撤销")
    private Integer status;

    /** 发布者处理状态： 0 未处理 1已处理 */
    @ApiModelProperty(value = "发布者处理状态(0 未处理 1已处理)",dataType = "Integer")
    @Excel(name = "发布者处理状态： 0未处理 1已处理")
    private Integer disposeStatus;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间",dataType = "Date")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @ApiModelProperty(value = "更新时间",dataType = "Date")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPublishId(Long publishId) 
    {
        this.publishId = publishId;
    }

    public Long getPublishId() 
    {
        return publishId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPublishUserId(Long publishUserId) 
    {
        this.publishUserId = publishUserId;
    }

    public Long getPublishUserId() 
    {
        return publishUserId;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setIntor(String intor) 
    {
        this.intor = intor;
    }

    public String getIntor() 
    {
        return intor;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDisposeStatus(Integer disposeStatus) 
    {
        this.disposeStatus = disposeStatus;
    }

    public Integer getDisposeStatus() 
    {
        return disposeStatus;
    }
    

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("publishId", getPublishId())
            .append("userId", getUserId())
            .append("publishUserId", getPublishUserId())
            .append("nickName", getNickName())
            .append("name", getName())
            .append("phonenumber", getPhonenumber())
            .append("sex", getSex())
            .append("intor", getIntor())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("disposeStatus", getDisposeStatus())
            .toString();
    }
}
